The QTMLAcquireWindowList function acquires exclusive access to the global list of (Macintosh-style) windows, so that the list will not change until you call QTMLReleaseWindowList .
void QTMLAcquireWindowList( void );
If you want to call the LMGetWindowList function or the FrontWindow function and then proceed to walk down the next pointers, you need to protect yourself against another thread modifying the list while you walk. Call the QTMLAcquireWindowList function before and the QTMLReleaseWindowList routine after.
| Previous | Chapter Contents | Chapter Top | Next |